package nccloud.api.uapbd.file;

import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import nc.bs.dao.BaseDAO;
import nc.bs.dao.DAOException;
import nc.bs.framework.common.NCLocator;
import nc.codeplatform.framework.commons.DaoUtils;
import nc.jdbc.framework.processor.ColumnProcessor;
import nc.jdbc.framework.processor.MapListProcessor;
import nc.vo.pub.filesystem.NCFileNode;
import nc.vo.pub.filesystem.NCFileVO;
import nc.vo.pubapp.AppContext;
import nccloud.api.rest.utils.RestOperator;
import nccloud.api.rest.utils.ResultMessageUtil;
import nccloud.pubitf.platform.attachment.IAttachmentService;
import nccloud.ws.rest.resource.AbstractNCCRestResource;
import org.apache.commons.fileupload.FileItem;
import org.apache.commons.fileupload.disk.DiskFileItemFactory;
import org.apache.commons.fileupload.servlet.ServletFileUpload;
import org.json.JSONString;
import org.restlet.representation.Representation;
import uap.pub.fs.domain.basic.FileHeader;

import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.Path;
import javax.ws.rs.POST;
import javax.ws.rs.Produces;

@Path("uapbd/accrued/")
public class AccruedController extends AbstractNCCRestResource {

    @Override
    public String getModule() {
        return "uapbd";
    }

    private BaseDAO daseDAO = null;
    private DaoUtils dao;

    private BaseDAO getDao() {
        if (daseDAO == null) {
            daseDAO = new BaseDAO();
            return daseDAO;
        }
        return daseDAO;
    }
    @POST
    @Path("/addAccrued")
    @Produces({"application/json"})
    public JSONString query(JSONString json) {



        return ResultMessageUtil.toJSON(null);
    }
}
